Vertical Composition of Reversible Atomic Objects

نویسندگان

  • Timos Antonopoulos
  • Paul Gazzillo
  • Eric Koskinen
  • Zhong Shao
چکیده

The classic Herlihy/Wing notion of concurrent objects has had great success in theories and implementations (e.g. java.util. concurrent), providing programmers with the simple abstraction of an atomic object. Since then, software transactions have appeared, also touting the the goal of providing an atomicity abstraction. However, despite some vertical composition strategies within particular STM implementations, a fundamental concept of vertical composition has remained elusive. In this paper, we distill the essence of vertical composition, with the notion of reversible atomic objects. By restricting occurrences of transactions to the method boundary and requiring that every object method construct its own inverse, we obtain a cleaner semantics that supports vertical composition. In fact, we do not even require that one layer use the same implementation (e.g. pessimism versus optimism) as another, nor that the object be transactional at all. Formally, we begin with a semantics in which abstract-level operations are composed from constituent base operations, accounting for conflict and inverses. These transactional implementations are put in the context of an environment that includes a novel a deadlock-mitigating contention manager that ensures progress. The contention manager may, at any point, apply inverses on behalf of a currently executing transaction. Our work has the first proof that programs composed with implementations in this framework are a contextual refinement of the same program instead composed with atomic specifications and that layers can be composed vertically. Our compositional treatment in terms of a single shared log gives rise to a novel transactional variant of the universal construction. We have implemented a library of reversible atomic objects. We demonstrate that it is easy and intuitive to build complex concurrent implementations (e.g. a multi-threaded layered filesystem) by vertical composition of atomic components.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Analytical Studies and Identification of Production Process in the Glass Objects from the Underground Hand-Made Architectural Complex of Arzanfood, Hamedan

Study on the production technology in ancient glass artefacts is one of the interesting subject in the field of archaeological sciences. The aim of this study is to identify the chemical composition and production technology in the glass objects discovered form the underground hand-made architectural complex of Arzanfood, near Hamedan, in western Iran. These objects are including some broken pi...

متن کامل

Thylakoid membrane remodeling during state transitions in Arabidopsis.

Adaptability of oxygenic photosynthetic organisms to fluctuations in light spectral composition and intensity is conferred by state transitions, short-term regulatory processes that enable the photosynthetic apparatus to rapidly adjust to variations in light quality. In green algae and higher plants, these processes are accompanied by reversible structural rearrangements in the thylakoid membra...

متن کامل

Single Molecule Force Spectroscopy on Polysaccharides by Atomic Force Microscopy

Recent developments in piconewton instrumentation allow the manipulation of single molecules and measurements of intermolecular as well as intramolecular forces. Dextran filaments linked to a gold surface were probed with the atomic force microscope tip by vertical stretching. At low forces the deformation of dextran was found to be dominated by entropic forces and can be described by the Lange...

متن کامل

Sensitivity analysis of a caliper formed atomic force microscope cantilever based on a modified couple stress theory

A relationship based on the modified couple stress theory is developed to investigate the flexural sensitivity of an atomic force microscope (AFM) with assembled cantilever probe (ACP). This ACP comprises a horizontal cantilever, two vertical extensions and two tips located at the free ends of the extensions which form a caliper. An approximate solution to the flexural vibration problem is obta...

متن کامل

Sensitivity analysis of a caliper formed atomic force microscope cantilever based on a modified couple stress theory

A relationship based on the modified couple stress theory is developed to investigate the flexural sensitivity of an atomic force microscope (AFM) with assembled cantilever probe (ACP). This ACP comprises a horizontal cantilever, two vertical extensions and two tips located at the free ends of the extensions which form a caliper. An approximate solution to the flexural vibration problem is obta...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016